﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SoftHotel.Models
{
    public class DatoConsumo 
    {
        [Key]
        public int idDatoConsumo { get; set; }
        public String descripcion { get; set; }

        [ForeignKey("idDatoServicio")]
        public DatoServicio datoServicio { get; set; }
        public int idDatoServicio { get; set; }

        [ForeignKey("idConsumo")]
        public Consumo consumo { get; set; }
        public int idConsumo { get; set; }
    }
}
